package com.ecnu.sei.app.course;

import com.ecnu.sei.app.teacher.ITeacher;
import com.ecnu.sei.app.teacher.Official;

/*
 * an interface for all kinds of courses (e.g. compulsory, elective)
 * They apply different rules with regard to schedules, classrooms, teachers and students
 */
public interface ICourse {
  public CourseInfo getCourseInfo();
  public boolean setResource();
  public void setResourcePending();
  public boolean addProctor(ITeacher teacher);
  public boolean hasEnoughProctors();
  public boolean setPatrol(Official patrol);
  public boolean setBackup(ITeacher teacher);
}
